import { fileURLToPath } from 'url';
import path from 'path';

 // 获取当前文件的URL
export function getCurrentDirPath() {
    const currentFileUrl = import.meta.url;
    return path.dirname(fileURLToPath(currentFileUrl));
}

// 深拷贝
function deepMerge(target: Record<string, any>, obj: Record<string, any>) {
    
}